package com.zlp.design.chain.source;

public class Client {


    public static void main(String[] args) {
        Request req = null;
        Response res = null;

        FilterChain filterChain = new FilterChain();
//        filterChain.addFilter(new FirstFilter()).addFilter(new SecondFilter());
        filterChain.addFilter(new FirstFilter());
        filterChain.addFilter(new SecondFilter());
        filterChain.doFilter(req, res);
    }
}